/*
 * @Date: 2025-07-19 01:10:46
 * @LastEditors: 贾二小 erxiao.jia@outlook.com
 * @LastEditTime: 2025-08-10 00:55:37
 * @FilePath: /admin-vue/src/plugins/index.ts
 */
import type { App } from 'vue'
// import { setup as animate } from './animate'
import { setup as axios } from './axios'
import { setup as tailwindcss } from './tailwindcss'
import { setup as router } from './router'
import { setup as pinia } from './pinia'
import { setup as i18n } from './i18n'
import type { Sync } from '@icon-park/vue-next'

// const modules = [animate, axios, dayjs, tailwindcss, router, pinia]
const modules = [axios, tailwindcss, pinia, router, i18n]
export default async function register(app: App) {
  await modules.map(async (setup) => await setup(app))
}
